#include "Player.h"

Player::Player(AnimatedSprite* sprite, b2Body* body):
sprite(sprite),
body(body)
{
}

Player::~Player()
{
	delete sprite;
}

b2Vec2 Player::getPosition() const
{
	return body->GetPosition();
}

b2Body* Player::getBody()
{
	return body;
}

AnimatedSprite* Player::getSprite() const
{
	return sprite;
}

float Player::getMaxWalkVelocity() const
{
	return 10.0f;
}

float Player::getJumpVelocity() const
{
	return 4.0f;
}

